package com.zerui.manager.web.enums;

public enum DeviceSyncStatusEnum {
    SYNC_INIT(0, "等待运行"),
    SYNC_DOING(1, "正在同步"),
    SYNC_DONE(2, "完成同步"),
    SYNC_ERROR(-1, "同步出错");

    private final int code;

    private final String name;

    DeviceSyncStatusEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }


    public int getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
